<!-- 
-------------------------------------------------
-------------------------------------------------
		CONTENT BELOW ARE FOR PROTOTYPING!!!
-------------------------------------------------
-------------------------------------------------
 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:hx="http://aliok.com.tr">
	<body>
		<ui:composition >
	
			<!-- even if not specified, tags below may define the global attributes: 
				accesskey classp contenteditable contextmenu dir draggable hidden
				id itemid itemprop itemref itemscope itemtype lang spellcheck style
				tabindex title
			and global event attributes:
				onabort	onblurp	oncanplay oncanplaythrough onchange onclick oncontextmenu ondblclick ondrag
				ondragend ondragenter ondragleave ondragover ondragstart ondrop	ondurationchange onemptied
				onended	onerror	onfocus	onformchange onforminput oninput oninvalid onkeydown onkeypress
				onkeyup onload onloadeddata onloadedmetadata onloadstart onmousedown onmousemove
				onmouseout onmouseover onmouseup onmousewheel onpause onplay onplaying onprogress 
				onratechange onreadystatechange onscroll onseeked onseeking onselect onshow onstalled
				onsubmit onsuspend ontimeupdate onvolumechange onwaiting
			 -->
	
			<!--
				refs: 
					http://www.whatwg.org/specs/web-apps/current-work/#telephone-state
				ATTRIBUTES:
					pattern: pattern to validate the typed input on browser-side		(not supported on any browser yet)
					suggestions: suggestion values		(supported on Opera 10.10)
					required: same with h:inputText 'required' except, 'required' attribute of HTML 'input' element is used this time		(not supported on any browser yet)
					placeholder: hint to show on the input, when it is clear	(supported on Chrome 4.0 and Safari 4.0.4, ) 
				NOTES:
					THIS COMPONENT extends h:inputText(or t:inputText)
					this component can be useful on mobile phones. Mobile phone browsers may provide a mechanism to select a telephone of a 
						contact from saved contacts.
					not applied attributes to HTML5 element: height,max,min,multiple,step,width
			-->
			
			
			
			<!-- ---------------------------------------usage 1 --------------------------------------------------- -->
			<hx:inputTel value="#{someBean.someTelField}" />
						<!-- Assume that we have 
							public class SomeBean{
								somepackage.TelephoneNumber someTelField;
							}  
						-->
				
			<!-- expected HTML5 code for usage 1-->
			<input type="tel" value="1-555-555-55-55" />
			
			
			
			
			
			<!-- --------------------------------------- --------------------------------------------------- -->
			<!-- for other usages see: inputText.xhtml -->
			
		</ui:composition>
	</body>
</html>